home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Apple Guide / Engineering / APISample / APISampleMPW / TApplication / GlobalizeTApplication next >
Encoding:
Text File  |  1992-01-27  |  1.0 KB  |  23 lines  |  [TEXT/MPS ]

  1. #
  2. #    GlobalizeTApplication
  3. #
  4. #    Executing this script will copy the result files of the TApplication class
  5. #    to the MPW C++ libraries and includes folders. Once there, the TApplication
  6. #    class can be included for use by other code.
  7. #
  8. #    Therefore, don't execute this script unless you are satisfied that any
  9. #    changes you may have made to the source code are exactly as you want them.
  10. #
  11. #    Of course, you can always copy these files using the finder by dragging
  12. #    each to its appropriate place. This script is only meant to be a convenience.
  13.  
  14. #    Copy the TApplication header file to the C++ Includes folder
  15.         Duplicate 'TApplicationCommon.h' "{CPlusIncludes}"TApplicationCommon.h
  16.         Duplicate 'TApplication.h' "{CPlusIncludes}"TApplication.h
  17.     
  18. #    Copy the TApplication library to the C++ Libraries folder
  19.         Duplicate 'TApplication.o' "{CPlusLibraries}"TApplication.o
  20.         
  21. #    By the way, if you wish to always overwrite any previously existing copies
  22. #    of these files in the C++ Libraries and Includes folders, use the -y option
  23. #    in the duplicate command.